The battle system automatically detects when the animation is on the last frame.
